package com.ct.deadlockdetetor.service;

import com.ct.deadlockdetetor.domain.resource.dto.ResourceAddDTO;
import com.ct.deadlockdetetor.domain.resource.dto.ResourceQueryDTO;
import com.ct.deadlockdetetor.domain.resource.vo.ResourceVO;

import java.util.List;

public interface ResourceService {
    boolean register(ResourceAddDTO resourceAddDTO);

    List<ResourceVO> list(ResourceQueryDTO resourceQueryDTO);

    boolean delete(Integer resourceId);
}
